

Route::group(function () {
    //签到
        Route::post("/sign_up", "app\api\controller\Sign@sign_up")->name("sign.sign_up");// 签到
        Route::get("/sign_log", "app\api\controller\Sign@sign_log")->name("sign.sign_log");// 签到记录
         
    })
->allowCrossDomain()
->middleware(\app\api\middleware\TokenMiddleware::class,true);// jwt认证